<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Decode BASE64 encoded text</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.imap-base64" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imap_base64</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">imap_base64</span> &mdash; <span class="dc-title">Decode BASE64 encoded text</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.imap-base64-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>imap_base64</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$text</code></span>
   ) : <span class="type">string</span></div>

  <p class="para rdfs-comment">
   Decodes the given BASE-64 encoded <code class="parameter">text</code>. 
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.imap-base64-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">text</code></dt>

     <dd>

      <p class="para">
       The encoded text
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.imap-base64-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the decoded message as a string.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.imap-base64-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="imap_binary.html" class="function" rel="rdfs-seeAlso">imap_binary()</a> - Convert an 8bit string to a base64 string</span></li>
    <li class="member"><span class="function"><a href="base64_encode.html" class="function" rel="rdfs-seeAlso">base64_encode()</a> - 使用 MIME base64 对数据进行编码</span></li>
    <li class="member"><span class="function"><a href="base64_decode.html" class="function" rel="rdfs-seeAlso">base64_decode()</a> - 对使用 MIME base64 编码的数据进行解码</span></li>
    <li class="member"><a href="http://www.faqs.org/rfcs/rfc2045" class="link external">&raquo;&nbsp;RFC2045</a>, Section 6.8</li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>